package com.cskaoyan.mapper;

import com.cskaoyan.bean.MallNotice;
import com.cskaoyan.bean.MallNoticeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MallNoticeMapper {
    long countByExample(MallNoticeExample example);

    int deleteByExample(MallNoticeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallNotice record);

    int insertSelective(MallNotice record);

    List<MallNotice> selectByExample(MallNoticeExample example);

    MallNotice selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallNotice record, @Param("example") MallNoticeExample example);

    int updateByExample(@Param("record") MallNotice record, @Param("example") MallNoticeExample example);

    int updateByPrimaryKeySelective(MallNotice record);

    int updateByPrimaryKey(MallNotice record);
}
